Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Cursor Tracker Routines

QuickDraw 3D provides six cursor tracker routines that operate in the same ways as other tracker routines:

TQ3Status Q3CursorTracker_PrepareTracking (void);
TQ3Status Q3CursorTracker_SetTrackDeltas(
                     TQ3Boolean    trackDeltas);
TQ3Status Q3CursorTracker_GetAndClearDeltas(
                     float            *depth,
                     TQ3Quaternion    *orientation,
                     TQ3Boolean       *hasOrientation,
                     TQ3Boolean       *changed,
                     unsigned long    *serialNumber);
TQ3Status Q3CursorTracker_SetNotifyFunc(
                     TQ3CursorTrackerNotifyFunc    notifyFunc);
TQ3Status Q3CursorTracker_GetNotifyFunc(
                     TQ3CursorTrackerNotifyFunc    *notifyFunc);
typedef void (*TQ3CursorTrackerNotifyFunc) (void);

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |